From: kaf24@firebug.cl.cam.ac.uk Date: Wed, 31 May 2006 06:48:54 +0000 (+0100) Subject: The xm dmesg command wasn't taking the -c/--clear options because of X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16013^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=affc898c83ddf7ebfe0222dcde22a74be812148f;p=xen.git The xm dmesg command wasn't taking the -c/--clear options because of incorrect values to arg_check(). Patch simply allows for the possible option with arg_check(). Signed-off-by: Daniel Stekloff --- diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index e9c430efeb..62875cac8b 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -806,7 +806,7 @@ def xm_top(args): os.execvp('xentop', ['xentop']) def xm_dmesg(args): - arg_check(args, "dmesg", 0) + arg_check(args, "dmesg", 0, 1) gopts = Opts(use="""[-c|--clear]